<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	  <head>
	    <base href="<%=basePath%>">
	    <title>add_room.jsp</title>
	    
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		
		<link rel="stylesheet" type="text/css" href="./css/style.css">
	  </head>
	  
	  <body>
		    <div id="blue_button"><div id="blue_button_word">&nbsp;机房详细</div></div>
		  	<div id="right_background">&nbsp;<br/> <br/> 
				<form action="" method="post">
					<table cellpadding="10" cellspacing="10" border="0" align="center" >
						<tr align="right">
							<td>机房ID:</td>
							<td><input type="text" id="roomId" name="roomId" value="${room.roomId}" onclick="this.blur()"/></td>
							<td>机房名称:</td>
							<td><input type="text" id="roomName" name="roomName" value="${room.roomName}" onclick="this.blur()"/></td>
						</tr>
						<tr align="right">
							<td>负责人:</td>
							<td>
								<input type="text" id="roomManager" name="roomManager" value="${room.comEmp.EName}" onclick="this.blur()"/>
							</td>
							<td>联系电话:</td>
							<td><input type="text" id="roomPhone" name="roomPhone" value="${ room.roomPhone}" onclick="this.blur()"/></td>
						</tr>
						<tr align="right">
							<td>所属部门:</td>
							<td>
								<input type="text" id="roomDept" name="roomDept" value="${ room.comDept.dname}" onclick="this.blur()"/>
							</td>
							<td>机房地址:</td>
							<td><input type="text" id="roomAddress" name="roomAddress" value="${room.roomAddress}" onclick="this.blur()"/></td>
						</tr>
						<tr>
							<td>机房备注:</td>
							<td colspan="3">
								<textarea id="roomDescribe" name="roomDescribe" rows="3" cols="40" onclick="this.blur()">${room.roomDescribe}</textarea>
							</td>
						</tr>
					</table>
					<div align="center">
						<input type="button" class="add" value="返 回&gt;&gt;" onclick="location.href='./room/RoomListAction'"/> &nbsp;&nbsp;
					</div>
				</form>
		  	</div>
	  </body>
</html>
